<!DOCTYPE html>
<!-- saved from url=(0067)https://websocket.kleshuo.com/Views/KP/#/main/main_query_statistics -->
<html>
	{include file="public/head"}
	<style>
		.layui-form-select dl dd.layui-this{
			color: #fff;
			background: #317DE3;
		}
		.layui-input:focus, .layui-textarea:focus{
			border-color:transparent!important;
			box-shadow: none;
		}
		.main-bot{
			position: fixed;

		}
		.layui-form-select{
			width: 120px;
		}
	</style>
	<body class="" style="">
		<style type="text/css" media="all">
			.data_box {
				display: none;
			}

			.que-div4 .el-table td,
			.que-div4 .el-table th {
				width: 166px;
				height: 44px;
				line-height: 44px;
				padding: 0;
			}
            .main-bot .el-button{
                position: relative;z-index: 999;
            }
			.outbox {
				position: fixed;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				width: 100vw;
				height: 100vh;
				z-index: 1000;
				background: #00000080;
				display: none;
			}

			.outbg {
				position: fixed;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				width: 550px;
				z-index: 1000;
				background: #fff;
			}

			.out-title {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 10px;
				box-sizing: border-box;
				background: #1D5B96;
				color: #fff;
				font-size: 17px;
			}

			.out-title img {
				width: 20px;
			}

			.out-body {}

			.b_title {
				border-bottom: 1px solid #ccc;
				width: 100%;
				padding: 20px;
			}

			.out-body img {
				width: 80px;
				margin-right: 10%;
			}

			.out-btn {
				display: flex;
				justify-content: center;
				padding: 10px;
				border-top: 1px solid #ccc;
			}

			.out-btn button {
				background: #1d5b96;
				color: #fff;
				margin: 0 10px;
				outline: 0;
				border: 0;
				padding: 7px 20px;
			}

			.b_picker {
				display: flex;
				flex-wrap: wrap;
				padding: 20px;
			}

			.picker_item {
				width: 50%;
				display: flex;
				align-items: center;
				justify-content: center;
				margin-bottom: 20px;
			}
			.picker_item select{
			    border: 1px solid #eee;
                border-radius: 5px;
                padding: 5px 0;
                outline: 0;
                text-align: left;
                width: 47%;
			}
			.bg{
			    position: absolute;
                width: 100vw;
                height: 100vh;
                z-index: 9999;
                display:none
			}
			.bg .box{
			    color: #fff;
                background: #103b6b;
                margin-top: 35vh;
                width: 500px;
                height: 180px;
                text-align: center;
                margin-left: 35vw;
                border-radius: 5px;
			}
			.bg .box img{
			    margin-top: 20px;
                width: 100px;
                margin-bottom: 10px;
			}
			.layui-table-view{
			    /*width: 1170px;*/
			}
			.layui-table thead{
			    background: #F2F2F2;
			}
			.el-table thead th{
			    text-align: center;
			    font-weight: normal;
			}
			.que-div4 .el-table td{
			    background: #fff;
			    height: 44px;
			    line-height: 44px;
			    box-sizing: border-box;
			}
			.layui-table{
			    width: 100% !important;
			}
			.layui-table-cell{
			}
			.pub-right img {
                width: 22px;
                margin-right: 10px;
            }
            #maxd-window {
                display: none;
            }
		</style>
		<div class="bg">
			<div class="box">
				<img src="__STATIC__/tax/images/clock.png" alt="" />
				<p>正在查询中，请稍等...</p>
			</div>
		</div>
		<div id="app">
			<div>
				<div class="pub-div">
					<section class="el-container is-vertical">
						<header class="el-header" style="height: 35px;">
							<div class="pub-left"><img
									src="">
								<span>发票资料查询统计</span>
								<p class="title-tip" style="display: none;">(<span></span>)</p>
							</div>
							<div class="pub-right">
							    <img src="__STATIC__/tax/images/wenhao.svg" id="help" alt=""/>
							    <img src="__STATIC__/tax/images/min-window.svg" id="min-window" alt=""/>
                                <img src="__STATIC__/tax/images/max-window.svg" id="max-window" alt=""/>
                                <img src="__STATIC__/tax/images/maxd-window.svg" id="maxd-window" alt=""/>
							    <a href="javascript:history.go(-1)"><i class="iconfont icon-back"></i></a></div>
						</header>
					</section>
				</div>
				<div class="outbox layui-form" lay-filter="form_rate">
					<div class="outbg">
						<div class="out-title">
							<span>显示税率设置</span>
							<img src="__STATIC__/tax/images/close-window.svg" id="close-box" class="outcancle" alt="" />
						</div>
						<div class="out-body">
							<div class="b_title">
								说明：可以根据需要设置显示
							</div>
							<div class="b_picker">
								<div class="picker_item">
									第一列显示税额：
									<select name="col_1">
										{volist name="rate" id="v"}
										<option value="{$v.field}">{$v.text}</option>
										{/volist}
									</select>
								</div>
								<div class="picker_item">
									第二列显示税额：
									<select name="col_2">
										{volist name="rate" id="v"}
										<option value="{$v.field}">{$v.text}</option>
										{/volist}
									</select>
								</div>
								<div class="picker_item">
									第三列显示税额：
									<select name="col_3">
										{volist name="rate" id="v"}
										<option value="{$v.field}">{$v.text}</option>
										{/volist}
									</select>
								</div>
								<div class="picker_item">
									第四列显示税额：
									<select name="col_4">
										{volist name="rate" id="v"}
										<option value="{$v.field}">{$v.text}</option>
										{/volist}
									</select>
								</div>
							</div>
						</div>
						<div class="out-btn">
							<button id="outsure" lay-submit lay-filter="search_rate">确认</button>
							<button class="outcancle">取消</button>
						</div>
					</div>
				</div>

				<div class="main-par">
					<form method="get" class="layui-form" lay-filter="form">
						<div class="el-tabs el-tabs--top el-tabs--border-card">
							<div class="el-tabs__header is-top">
								<div class="el-tabs__nav-wrap is-top">
									<div class="el-tabs__nav-scroll">
										<div role="tablist" class="el-tabs__nav is-top"
											style="transform: translateX(0px);">
											<div id="tab-0" aria-controls="pane-0" role="tab" aria-selected="true" data-val="1"
												tabindex="0" class="el-tabs__item is-top bill_type is-active"
												>增值税专用发票
											</div>
											<div id="tab-1" aria-controls="pane-1" role="tab" tabindex="-1" data-val="2"
												class="el-tabs__item is-top bill_type"
												>增值税普通发票
											</div>
											<!--<div id="tab-2" aria-controls="pane-2" role="tab" tabindex="-1"-->
											<!--     class="el-tabs__item is-top {if condition='$Data.bill eq 3'}is-active{/if}" onclick="window.location.href = '{:url("search")}?bill=3'">增值税电子专用发票</div>-->
											<!--<div id="tab-3" aria-controls="pane-3" role="tab" tabindex="-1"-->
											<!--     class="el-tabs__item is-top {if condition='$Data.bill eq 4'}is-active{/if}" onclick="window.location.href = '{:url("search")}?bill=4'">增值税电子普通发票</div>-->
										</div>
									</div>
								</div>
							</div>
<!--							<input type="hidden" name="bill" value="{$Data.bill}" />-->
							<div class="el-tabs__content">
								<div role="tabpanel" id="pane-0" aria-labelledby="tab-0" class="el-tab-pane" style="">
									<div class="que-div1">
										<div class="el-row">
											<div class="el-col el-col-3">
												<div class="que-div2">
													<div class="el-select">
														<!---->
														<div class="el-input el-input--suffix">
															<!---->
															<select class="input-sm form-control input-s-sm inline" id="tj" name="tj"  lay-filter="tj">
																<option value="1" {if condition="$Data.tj eq 1" }selected{/if}>按年度统计</option>
																<option value="2" {if condition="$Data.tj eq 2" }selected{/if}>按季度统计</option>
																<option value="3" {if condition="$Data.tj eq 3"}selected{/if}>按月度统计</option>
															</select>
<!--															<span class="el-input__suffix">-->
<!--																<span class="el-input__suffix-inner">-->
<!--																	<i class="el-select__caret el-input__icon el-icon-arrow-up"></i>-->
<!--																</span>-->
<!--															</span>-->
														</div>
														<div class="el-select-dropdown el-popper"
															style="display: none; min-width: 147.25px;">
															<div class="el-scrollbar" style="">
																<div class="el-select-dropdown__wrap el-scrollbar__wrap"
																	style="margin-bottom: -17px; margin-right: -17px;">
																	<!--<ul class="el-scrollbar__view el-select-dropdown__list">-->
																	<!---->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>按月度统计</span></li>-->
																	<!--</ul>-->
																</div>
																<div class="el-scrollbar__bar is-horizontal">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateX(0%);"></div>
																</div>
																<div class="el-scrollbar__bar is-vertical">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateY(0%);"></div>
																</div>
															</div>
															<!---->
														</div>
													</div>
												</div>
											</div>
											<div class="el-col el-col-3" id="nian">
												<div class="que-div2">
													<div class="el-select">
														<!---->
														<div class="el-input el-input--suffix">
															<!---->
															<!--<input type="text" readonly="readonly" autocomplete="off"-->
															<!--              placeholder="请选择" class="el-input__inner">-->

															<select class="input-sm form-control input-s-sm inline" id="year" name="year">
																{volist name="yearArr" id="v"}
																<option value="{$v}" {if $year eq $v}selected{/if}>{$v}年</option>
																{/volist}
															</select>
															<!---->
															<!--                                  <span class="el-input__suffix"><span-->
															<!--                                      class="el-input__suffix-inner"><i-->
															<!--                                      class="el-select__caret el-input__icon el-icon-arrow-up"></i>-->
															<!---->
															<!---->
															<!---->
															<!---->
															<!---->
															<!--	</span>-->
															<!---->
															<!--</span>-->
															<!---->
															<!---->
														</div>
														<div class="el-select-dropdown el-popper"
															style="display: none; min-width: 147.25px;">
															<div class="el-scrollbar" style="">
																<div class="el-select-dropdown__wrap el-scrollbar__wrap"
																	style="margin-bottom: -17px; margin-right: -17px;">
																	<!--<ul class="el-scrollbar__view el-select-dropdown__list">-->
																	<!---->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>2021年</span></li>-->
																	<!--    <li class="el-select-dropdown__item selected">-->
																	<!--        <span>2020年</span></li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>2019年</span></li>-->
																	<!--</ul>-->
																</div>
																<div class="el-scrollbar__bar is-horizontal">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateX(0%);"></div>
																</div>
																<div class="el-scrollbar__bar is-vertical">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateY(0%);"></div>
																</div>
															</div>
															<!---->
														</div>
													</div>
												</div>
											</div>
											<div class="el-col el-col-3" id="yue" style="display: none;">
												<div class="que-div2">
													<div class="el-select">
														<!---->
														<div class="el-input el-input--suffix">
															<!---->

															<!--<input type="text" readonly="readonly" autocomplete="off"-->
															<!--              placeholder="请选择" class="el-input__inner">-->
															<select class="input-sm form-control input-s-sm inline input__inner" id="month" name="month">
																<option value="1" {if condition="$Data.month eq '1'"
																	}selected{/if}>1月</option>
																<option value="2" {if condition="$Data.month eq '2'"
																	}selected{/if}>2月</option>
																<option value="3" {if condition="$Data.month eq '3'"
																	}selected{/if}>3月</option>
																<option value="4" {if condition="$Data.month eq '4'"
																	}selected{/if}>4月</option>
																<option value="5" {if condition="$Data.month eq '5'"
																	}selected{/if}>5月</option>
																<option value="6" {if condition="$Data.month eq '6'"
																	}selected{/if}>6月</option>
																<option value="7" {if condition="$Data.month eq '7'"
																	}selected{/if}>7月</option>
																<option value="8" {if condition="$Data.month eq '8'"
																	}selected{/if}>8月</option>
																<option value="9" {if condition="$Data.month eq '9'"
																	}selected{/if}>9月</option>
																<option value="10" {if condition="$Data.month eq '10'"
																	}selected{/if}>10月</option>
																<option value="11" {if condition="$Data.month eq '11'"
																	}selected{/if}>11月</option>
																<option value="12" {if condition="$Data.month eq '12'"
																	}selected{/if}>12月</option>
															</select>

															<!--                          <span class="el-input__suffix">-->
															<!--                             <span class="el-input__suffix-inner"><i class="el-select__caret el-input__icon el-icon-arrow-up"></i></span>-->

															<!--</span>-->

															<!---->
														</div>
														<div class="el-select-dropdown el-popper"
															style="display: none; min-width: 147.25px;">
															<div class="el-scrollbar" style="">
																<div class="el-select-dropdown__wrap el-scrollbar__wrap"
																	style="margin-bottom: -17px; margin-right: -17px;">
																	<!--<ul class="el-scrollbar__view el-select-dropdown__list">-->
																	<!---->
																	<!--    <li class="el-select-dropdown__item"><span>1月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>2月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>3月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>4月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>5月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>6月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>7月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>8月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item"><span>9月</span>-->
																	<!--    </li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>10月</span></li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>11月</span></li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>12月</span></li>-->
																	<!--</ul>-->
																</div>
																<div class="el-scrollbar__bar is-horizontal">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateX(0%);"></div>
																</div>
																<div class="el-scrollbar__bar is-vertical">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateY(0%);"></div>
																</div>
															</div>
															<!---->
														</div>
													</div>
												</div>
											</div>
											<div class="el-col el-col-3" style="display: none;" id="jd">
												<div class="que-div2">
													<div class="el-select">
														<!---->
														<div class="el-input el-input--suffix">
															<!--                                  <input type="text" readonly="readonly" autocomplete="off"-->
															<!--                                                placeholder="请选择" class="el-input__inner">-->
															<!--                                  <span class="el-input__suffix"><span-->
															<!--                                      class="el-input__suffix-inner"><i-->
															<!--                                      class="el-select__caret el-input__icon el-icon-arrow-up"></i>-->

															<!--	</span>-->

															<!--</span>-->
															<select class="input-sm form-control input-s-sm inline input__inner" id="quarter" name="quarter">
																<option value="1" {if condition="$Data.quarter eq '1'"
																	}selected{/if}>第1季度</option>
																<option value="2" {if condition="$Data.quarter eq '2'"
																	}selected{/if}>第2季度</option>
																<option value="3" {if condition="$Data.quarter eq '3'"
																	}selected{/if}>第3季度</option>
																<option value="3" {if condition="$Data.quarter eq '4'"
																	}selected{/if}>第4季度</option>
															</select>
														</div>
														<div class="el-select-dropdown el-popper"
															style="display: none;">
															<div class="el-scrollbar" style="">
																<div class="el-select-dropdown__wrap el-scrollbar__wrap"
																	style="margin-bottom: -17px; margin-right: -17px;">
																	<!--<ul class="el-scrollbar__view el-select-dropdown__list">-->
																	<!---->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>第1季度</span></li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>第2季度</span></li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>第3季度</span></li>-->
																	<!--    <li class="el-select-dropdown__item">-->
																	<!--        <span>第4季度</span></li>-->
																	<!--</ul>-->
																</div>
																<div class="el-scrollbar__bar is-horizontal">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateX(0%);"></div>
																</div>
																<div class="el-scrollbar__bar is-vertical">
																	<div class="el-scrollbar__thumb"
																		style="transform: translateY(0%);"></div>
																</div>
															</div>
															<!---->
														</div>
													</div>
												</div>
											</div>
											<div class="el-col el-col-2">
												<div class="que-div2">
													<!--<button type="button"  class="el-button el-button--default el-button--small">-->
													<button type="submit" lay-submit lay-filter="search" id="search" class="el-button el-button--default el-button--small">
														<span>查 询</span>
														<!--<button class="btn btn-sm btn-primary" type="submit" id="search"><i class="fa fa-search"></i> 查1询</button>-->
													</button>

													<!--<button class="btn btn-sm btn-primary" type="submit" id="search"><i class="fa fa-search"></i> 查1询</button>-->

												</div>
											</div>
										</div>
										<div class="el-row data_box" id="tongji_box">
											<div class="el-col el-col-3">
												<div class="que-div3">正数发票份数 {$arr.tax_type1}</div>
											</div>
											<div class="el-col el-col-3">
												<div class="que-div3">正数废票份数 {$arr.tax_type2}</div>
											</div>
											<div class="el-col el-col-3">
												<div class="que-div3">负数发票份数 {$arr.tax_type3}</div>
											</div>
											<div class="el-col el-col-3">
												<div class="que-div3">负数废票份数 {$arr.tax_type4}</div>
											</div>
											<div class="el-col el-col-3">
												<div class="que-div3">合计发票份数 {$arr.tax_type}</div>
											</div>
										</div>
									    <div class="" style="background:#fff;border:1px solid #cacaca">
									        <table class=" layui-hide"  id="invoicetable">
									    </div>
<!--										<div class="que-div4 data_box" style="display: none!important;">-->

<!--											<div class="el-table el-table&#45;&#45;fit el-table&#45;&#45;border el-table&#45;&#45;enable-row-hover el-table&#45;&#45;enable-row-transition"-->
<!--												style="width: 100%; text-align: center; height: 672px;">-->

<!--												<div class="hidden-columns">-->
<!--													<div></div>-->
<!--													<div></div>-->
<!--													<div></div>-->
<!--													<div></div>-->
<!--													<div></div>-->
<!--													<div></div>-->
<!--													<div></div>-->
<!--												</div>-->

<!--												<div class="el-table__header-wrapper">-->

<!--												</div>-->
<!--												<div class="el-table__header-wrapper">-->
<!--													<table cellspacing="0" cellpadding="0" border="0"-->
<!--														class="el-table__header" style="width:1162px;">-->
<!--														<colgroup>-->
<!--															<col name="el-table_14_column_109" width="166">-->
<!--															<col name="el-table_14_column_110" width="166">-->
<!--															<col name="el-table_14_column_111" width="166">-->
<!--															<col name="el-table_14_column_112" width="166">-->
<!--															<col name="el-table_14_column_113" width="166">-->
<!--															<col name="el-table_14_column_114" width="166">-->
<!--															<col name="el-table_14_column_114" width="166">-->
<!--															<col name="gutter" width="0">-->
<!--														</colgroup>-->
<!--														<thead class="has-gutter">-->
<!--															<tr class="">-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_109     is-leaf">-->
<!--																	<div class="cell">项目名称</div>-->
<!--																</th>-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_110     is-leaf">-->
<!--																	<div class="cell">合计</div>-->
<!--																</th>-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_111     is-leaf">-->
<!--																	<div class="cell">16%</div>-->
<!--																</th>-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_112     is-leaf">-->
<!--																	<div class="cell">13%</div>-->
<!--																</th>-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_113     is-leaf">-->
<!--																	<div class="cell">10%</div>-->
<!--																</th>-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_114     is-leaf">-->
<!--																	<div class="cell">9%</div>-->
<!--																</th>-->
<!--																&lt;!&ndash;<th colspan="1" rowspan="1"&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114     is-leaf">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">1%</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</th>&ndash;&gt;-->
<!--																<th colspan="1" rowspan="1"-->
<!--																	class="el-table_14_column_115     is-leaf">-->
<!--																	<div class="cell">其他</div>-->
<!--																</th>-->
<!--																<th class="gutter" style="width: 0px; display: none;">-->
<!--																</th>-->
<!--															</tr>-->
<!--														</thead>-->
<!--													</table>-->
<!--												</div>-->
<!--												<div class="el-table__body-wrapper is-scrolling-none"-->
<!--													style="height: 632px;">-->
<!--													<table cellspacing="0" cellpadding="0" border="0"-->
<!--														class="el-table__body" style="width: 1162px;">-->
<!--														<colgroup>-->
<!--															<col name="el-table_14_column_109" width="166">-->
<!--															<col name="el-table_14_column_110" width="166">-->
<!--															<col name="el-table_14_column_111" width="166">-->
<!--															<col name="el-table_14_column_112" width="166">-->
<!--															<col name="el-table_14_column_113" width="166">-->
<!--															<col name="el-table_14_column_114" width="166">-->
<!--															<col name="el-table_14_column_114" width="166">-->
<!--														</colgroup>-->
<!--														<tbody>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项正数金额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['money_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['money']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['money']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['money']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['money']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax1']['money']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['money']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项正数税额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['tax_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['tax']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['tax']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['tax']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td-->
<!--																    class="el-table_14_column_114  ">-->
<!--																    <div class="cell">{$val['tax1']['tax']['type4']|number_format=2,'.',''}</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;	<div class="cell">&ndash;&gt;-->
<!--																&lt;!&ndash;		{$val['tax1']['tax']['type5']|number_format=2,'.',''}&ndash;&gt;-->
<!--																&lt;!&ndash;	</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax1']['tax']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项正废金额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['money_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['money']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['money']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['money']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['money']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax2']['money']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['money']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项正废税额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['tax_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['tax']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['tax']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['tax']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['tax']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax2']['tax']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax2']['tax']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项负数金额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['money_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['money']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['money']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['money']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['money']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax3']['money']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['money']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项负数税额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['tax_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['tax']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['tax']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['tax']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['tax']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax3']['tax']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax3']['tax']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项负废金额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['money_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['money']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['money']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['money']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['money']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax4']['money']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['money']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">销项负废税额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['tax_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['tax']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['tax']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['tax']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['tax']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax4']['tax']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax4']['tax']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">实际销售金额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['money_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['money']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['money']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['money']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['money']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax']['money']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['money']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->
<!--															<tr class="el-table__row">-->
<!--																<td class="el-table_14_column_109  ">-->
<!--																	<div class="cell">实际销售税额</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_110  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['tax_count']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_111  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['tax']['type1']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_112  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['tax']['type2']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_113  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['tax']['type3']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																<td class="el-table_14_column_114  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['tax']['type4']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--																&lt;!&ndash;<td&ndash;&gt;-->
<!--																&lt;!&ndash;    class="el-table_14_column_114  ">&ndash;&gt;-->
<!--																&lt;!&ndash;    <div class="cell">{$val['tax']['tax']['type5']|number_format=2,'.',''}</div>&ndash;&gt;-->
<!--																&lt;!&ndash;</td>&ndash;&gt;-->
<!--																<td class="el-table_14_column_115  ">-->
<!--																	<div class="cell">-->
<!--																		{$val['tax']['tax']['other']|number_format=2,'.',''}-->
<!--																	</div>-->
<!--																</td>-->
<!--															</tr>-->

<!--														</tbody>-->
<!--													</table>-->


<!--												</div>-->
<!--												&lt;!&ndash;<div class="el-table__column-resize-proxy" style="display: none;"></div>&ndash;&gt;-->
<!--											</div>-->
<!--										</div>-->
									</div>
								</div>
								
							</div>

						</div>
					</form>
				</div>
				<div class="main-bot"><button disabled="disabled" type="button"
						class="el-button el-button--default is-disabled">
						<!---->
						<!----><span>打 印</span>
					</button> <button type="button" class="el-button el-button--default" id="setting">
						<!---->
						<!----><span>设 置</span>
					</button></div>
			</div>
		</div>
		{include file="public/foot"}
		<script id="tongjiTpl" type="text/html">
				<div class="el-col el-col-3">
					<div class="que-div3">正数发票份数 {{= d.tax_type1 }}</div>
				</div>
				<div class="el-col el-col-3">
					<div class="que-div3">正数废票份数 {{= d.tax_type2 }}</div>
				</div>
				<div class="el-col el-col-3">
					<div class="que-div3">负数发票份数 {{= d.tax_type3 }}</div>
				</div>
				<div class="el-col el-col-3">
					<div class="que-div3">负数废票份数 {{= d.tax_type4 }}</div>
				</div>
				<div class="el-col el-col-3">
					<div class="que-div3">合计发票份数 {{= d.tax }}</div>
				</div>
		</script>
		<script type="text/javascript" charset="utf-8" src='__STATIC__/User/js/jquery.min.js'></script>
		
		<script type="text/javascript" charset="utf-8">
		 $("#min-window").click(function () {
        if (typeof jsBridge == 'undefined') {
            return false
        }
        jsBridge.minimize().then((res) => {
            if (res.success) {
                console.log('最小化窗口成功');
            }
        });
    })
    if (typeof jsBridge != 'undefined') {
        jsBridge.isMaximized().then((res) => {
            if (res.success) {
                if (res.data) {
                    $("#max-window").hide()
                    $("#maxd-window").show()
                } else {
                    $("#max-window").show()
                    $("#maxd-window").hide()
                }
            }
        });
    }

    $("#max-window").click(function () {
        if (typeof jsBridge == 'undefined') {
            return false
        }
        jsBridge.maximize().then((res) => {
            if (res.success) {
                $("#max-window").hide()
                $("#maxd-window").show()
            }
        });
    })
    $("#maxd-window").click(function () {
        if (typeof jsBridge == 'undefined') {
            return false
        }
        jsBridge.isMaximized().then((res) => {
            if (res.success) {
                let current_dom = res.data  //当前窗口是否为最大化
                jsBridge.maximize().then((res) => {
                    if (res.success) {
                        if (current_dom) {
                            //点之前最大化 点完窗口缩小  图标是大的
                            $("#max-window").show()
                            $("#maxd-window").hide()
                        } else {
                            $("#max-window").hide()
                            $("#maxd-window").show()
                        }

                    }
                });
            }
        })
    })
		    layui.use(function(){
		        var form = layui.form;
		        var table = layui.table;
		        var laytpl = layui.laytpl;
		        let bill = 1; //专用发票
				var search_cols = localStorage.getItem('search_cols') || [{field: 'rate_16', title: '16%'},{field: 'rate_13', title: '13%'},{field: 'rate_10', title: '10%'},{field: 'rate_6', title: '6%'}];

				let form_rate = {};
				search_cols.forEach(function (item,index) {
					form_rate["col_"+(index+1)] = item.field
				})
				form.val('form_rate',form_rate)
		        var tax = table.render({
		            elem: '#invoicetable',
		            id:'test',
		             toolbar: false,
                    //  defaultToolbar: [],
                     cols: [[ //标题栏
                          {field: 'title', title: '项目名称'},
                          {field: 'total', title: '合计'},
                          ...search_cols,
                          {field: 'other', title: '其他'}
                        ]],
                    data:[],
                    height:550,
		        });
		        $(".bill_type").click(function () {
		        	var val =$(this).data('val')
					$(".bill_type").removeClass('is-active')
					$(this).addClass('is-active')
					bill = val
					let data = form.val('form')
					data.bill = bill
					data.colSpan = search_cols.map(item=>{return item.field})
					getData(data)
				})
				form.on("submit(search)", function (data) {
					data.field.bill = bill
					data.field.cols = search_cols.map(item=>{return item.field})
					getData(data.field)
					return false;
				});

				form.on("submit(search_rate)", function (data) {
					$(".bg").show()
					setTimeout(function() {
						$(".bg").hide()
						$(".data_box").show()

						let field = {}
						delete data.field.bill //删除bill
						let cols = Object.values(data.field)
						var old_form = form.val('form')
						let new_cols = Array.from(new Set(cols))
						if (new_cols.length < 4){
							layer.msg('列不能重复')
							return false
						}
						console.log(cols,old_form,Array.from(new Set(cols)))
						field = old_form
						field.bill = bill
						field.cols = cols
						Qajax("{:url('searchAjax')}","get",field,true).then(res=>{
							if (res.status == 1){
								let search_rate = res.data.search_rate
								let storage = []
								cols.forEach(function (item) {
									storage.push({
										field:item,
										title:search_rate[item].text
									})
								})
								search_cols = storage
								console.log(storage)
								tax.reload({
									cols:[[ //标题栏
										{field: 'title', title: '项目名称'},
										{field: 'total', title: '合计'},
										...search_cols,
										{field: 'other', title: '其他'}
									]],
									data:res.data.list
								});
								laytpl($("#tongjiTpl").html()).render(res.data.total,function (str) {
									$("#tongji_box").html(str)
								})
							}
						})
					}, 1500)

					return false;
				});

		        function getData(field) {
					Qajax("{:url('searchAjax')}","get",field,true).then(res=>{
						if (res.status == 1){
							tax.reload({
								data:res.data.list
							});
							laytpl($("#tongjiTpl").html()).render(res.data.total,function (str) {
								$("#tongji_box").html(str)
							})
						}
					})
				}

				$('.outcancle').click(function() {
					$('.outbox').hide()
				})
				$('#outsure').click(function() {
					$('.outbox').hide()
				})
				$('#setting').click(function() {
					let form_rate = {};
					search_cols.forEach(function (item,index) {
						form_rate["col_"+(index+1)] = item.field
					})
					form.val('form_rate',form_rate)
					$('.outbox').show()
				})
				$(document).ready(function() {
					$(".bg").show()
					setTimeout(function() {
						$(".bg").hide()
						$(".data_box").show()
					}, 1500)
				});
				$('.el-select').click(function() {
					$('.el-select-dropdown').hide()
					$(this).find('.el-select-dropdown').toggle()
				})
				if ("{$Data.tj}" == "2") {
					$("#nian").show();
					$("#jd").show();
					$("#yue").hide();
				} else if ("{$Data.tj}" == "3") {
					$("#nian").show();
					$("#yue").show();
					$("#jd").hide()
				} else {
					$("#jd").hide();
					$("#yue").hide();
				}
				form.on('select(tj)', function (data) {
					var tj_val = data.value
					if (tj_val == "2") {
						$("#nian").show();
						$("#jd").show();
						$("#yue").hide();
						console.log(1);
					} else if (tj_val == "3") {
						$("#nian").show();
						$("#yue").show();
						$("#jd").hide()
					} else {
						$("#jd").hide();
						$("#yue").hide();
					}
				});
				$("#tj").change(function() {
					var tj_val = $("#tj option:selected").val();
					if (tj_val == "2") {
						$("#nian").show();
						$("#jd").show();
						$("#yue").hide();
						console.log(1);
					} else if (tj_val == "3") {
						$("#nian").show();
						$("#yue").show();
						$("#jd").hide()
					} else {
						$("#jd").hide();
						$("#yue").hide();
					}
				});
		    })
		    	
		</script>
		<script type="text/javascript" charset="utf-8">

		</script>
	</body>
</html>